#define layout()
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="#(ctx??)/assets/css/manage.css" media="screen" rel="stylesheet" type="text/css" />
<link href="#(ctx??)/assets/js/jquery-ui-1.12.1/jquery-ui.min.css" media="screen" rel="stylesheet" type="text/css" />
<script src="#(ctx??)/assets/js/jquery-ui-1.12.1/external/jquery/jquery.js" type="text/javascript" ></script>
<script src="#(ctx??)/assets/js/ckeditor.js" type="text/javascript" ></script>
<!--
	https://cdn.ckeditor.com/#ckeditor5
<script src="https://cdn.ckeditor.com/ckeditor5/32.0.0/classic/ckeditor.js"></script>
-->

<!--
https://www.runoob.com/jqueryui/example-dialog.html
jquery ui 教程
-->
<script src="#(ctx??)/assets/js/jquery-ui-1.12.1/jquery-ui.js" type="text/javascript" ></script>
</head>
<style>
	.red{
		color:red;
	}
</style>
<body>
	<div class="manage_container">
		<div class="manage_head">
			<div class="manage_logo">
				<a href="http://www.jfinal.com" target="_blank">JFinal web framework V2.0</a>
				<div style="float:right">
					#if((session != null) && (session.uid != null))
					欢迎你: #(session.uid.userName??) <a href="#(ctx??)/logout" class="red">注销</a>
					#else
					<span>提示: #(errorMessage??)</span>
					<a href="#(ctx??)/toLogin" class="red">登录</a>
					<!--
					账号泄露
					<a href="#(ctx??)/toRegister" class="red">注册</a>-->
					#end
				</div>

			</div>
			<div id="nav">
				<ul>
					#if((session != null) && (session.uid != null))
						#if((session.uid.type) == "1")
							<li><a href="#(ctx??)/"><b>首页</b></a></li>
							<li><a href="#(ctx??)/blog"><b>日志管理</b></a></li>
							<li><a href="#(ctx??)/project"><b>项目管理</b></a></li>
							<li><a href="#(ctx??)/env"><b>配置</b></a></li>
							<li><a href="#(ctx??)/ws"><b>测试websockt</b></a></li>
							<li><a href="#(ctx??)/ws/createjs"><b>createjs</b></a></li>
						#else
							<li><a href="javascript:void(0)"><b>普通用户</b></a></li>
						#end
					#end
					<li><a href="#(ctx??)/task"><b class="red">任务管理</b></a></li>
					<li><a href="#(ctx??)/task/statistics"><b class="red">任务统计</b></a></li>
					<li><a href="#(ctx??)/weekreport"><b class="red">周报</b></a></li>
					<li><a href="#(ctx??)/search"><b>搜索</b></a></li>
					<li><a href="#(ctx??)/blogsearch"><b>日志搜索</b></a></li>
					<li><a href="#(ctx??)/mybatisFormatSql"><b>MyBatisSQL格式化</b></a></li>
				</ul>
			</div>
		</div>
		<div class="main">
			#@main()
		</div>
	</div>
</body>
</html>
#end